package com.cn.wanxi.util.service.impl;

import com.cn.wanxi.util.dao.impl.AboutNavDao;
import com.cn.wanxi.util.model.AboutContentModel;
import com.cn.wanxi.util.model.AboutNavModel;
import com.cn.wanxi.util.model.AnimationModel;
import com.cn.wanxi.util.service.IAboutNav;

import java.util.List;

public class AboutNavService implements IAboutNav {
    AboutNavDao aboutNavDao = new AboutNavDao();
    @Override
    public List<AboutNavModel> getaboutNavM() {
        List<AboutNavModel> aboutNavModels=aboutNavDao.aboutNavList();
        return aboutNavModels;
    }

    @Override
    public List<AboutContentModel> getabAboutContent() {
        List<AboutContentModel> aboutContentModels=aboutNavDao.aboutContentModel();
        return aboutContentModels;
    }

    @Override
    public List<AnimationModel> getAnimationModel() {
        List<AnimationModel> animationModels =aboutNavDao.animationModel();
        return animationModels;
    }
}
